package com.yungu.swift.system.sys.service;

import com.yungu.swift.base.ResponseData;
import com.yungu.swift.base.model.PageVo;
import com.yungu.swift.base.model.admin.AdminPageParam;
import com.yungu.swift.base.service.BaseService;
import com.yungu.swift.system.sys.model.dto.SysCompanyDto;
import com.yungu.swift.system.sys.model.param.AdminCompanyPageParam;
import com.yungu.swift.system.sys.model.vo.CompanyDetailVo;
import com.yungu.swift.system.sys.model.vo.CompanyVo;
import com.yungu.swift.system.sys.model.vo.RegionalAgentVo;

import java.util.List;
import java.util.Map;


/**
 * SysCompanyService
 **/

public interface SysCompanyService extends BaseService<SysCompanyDto> {


    /**
     * 后台-企业管理-列表
     *
     * @return Map
     */
    ResponseData<PageVo<CompanyVo>> queryPageVo(AdminCompanyPageParam companyPageParam);

    /**
     * 后台-企业管理-企业详情
     *
     * @param companyUuid 参数
     * @param appid       参数
     * @return CompanyDetailVo
     */
    ResponseData<CompanyDetailVo> getDetail(String companyUuid, String appid);


    /**
     * findCompanyByBusinessType
     *
     * @param map Map
     * @return List<SysCompanyDto>
     */
    ResponseData<List<SysCompanyDto>> findCompanyByBusinessType(Map<String, Object> map);
}